/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Core;

/**
 *
 * @author Mr Bao
 */
public class Message {

    protected ConnectionHandler handler;
    private String message;

    public Message(ConnectionHandler handler, String message) {
        this.handler = handler;
        this.message = message;
    }

    public void Send() {
        handler.SendImmediately(message);
    }
}
